package JavaSE_core.IO;

import java.io.Serializable;

public class Student extends Person implements Serializable{
	private String grade;

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}
	
	public Student() {
	}

	public Student(String name, int age, String grade) {
		super(name, age);
		this.grade = grade;
	}

	@Override
	public String toString() {
		return "Student [grade=" + grade + ", getName()=" + getName() + ", getAge()=" + getAge() + "]";
	}
	
	
}
